get video length python

47

get video length python -

from moviepy.editor import VideoFileClip
clip = VideoFileClip("my_video.mp4")
print( clip.duration )

Comments

Submit
0 Comments